From 70738d871decbcdec4f5535a7b6f57de26de7d2a Mon Sep 17 00:00:00 2001 From: diogo464 Date: Tue, 12 Aug 2025 16:28:33 +0100 Subject: Clean up old UI code and rename V2 to Drive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove old UI components: file-drive.tsx, history-view.tsx - Remove unused API endpoints: /api/tree, /api/log, /api/fs/route.ts - Rename /v2 routes to /drive routes for cleaner URLs - Rename V2* components to Drive* components (V2DirectoryView -> DriveDirectoryView, etc.) - Update all breadcrumb and navigation references from /v2 to /drive - Redirect root path to /drive instead of old UI - Keep /api/fs/[...path] and /api/directories for uploads and move functionality - Preserve Drive_* server functions for potential future use 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- frontend/app/drive/[...path]/page.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 frontend/app/drive/[...path]/page.tsx (limited to 'frontend/app/drive/[...path]') diff --git a/frontend/app/drive/[...path]/page.tsx b/frontend/app/drive/[...path]/page.tsx new file mode 100644 index 0000000..b0c6d7d --- /dev/null +++ b/frontend/app/drive/[...path]/page.tsx @@ -0,0 +1,14 @@ +import { DriveDirectoryView } from "@/components/drive/DriveDirectoryView" +import { Drive_ls } from "@/lib/drive_server" + +export default async function DriveDirectoryPage({ + params, +}: { + params: Promise<{ path: string[] }> +}) { + const { path: pathSegments } = await params + const currentPath = '/' + (pathSegments?.join('/') || '') + + const files = await Drive_ls(currentPath, false) + return +} \ No newline at end of file -- cgit